#pragma once
#include "PlayerState.h"
class Sprite;

class OnSpaceState : public PlayerState
{	
	Sprite* _sJumpLeft;
	Sprite* _sJumpRight;
	Sprite* _sJumpDownLeft;
	Sprite* _sJumpDownRight;	
public:	
	OnSpaceState(Player* player);
	~OnSpaceState(void);
	PLAYER_STATE handleInput(float time);
	void jump(JUMP_DIRECTION jumpDirection, GO_DIRECTION goDirection);
	void setCollisionBox();
};//